linux worker script/queue (php) [closed]

Posted by xetrill on Server Fault See other posts from Server Fault or by xetrill
Published on 2009-08-21T15:01:32Z Indexed on 2010/03/13 19:25 UTC
Read the original article Hit count: 306

Filed under:
|
|

Hi,

I need a binary/script (php) that does the following.

Start n process of X in the background and maintain the number processes.

An example:
- n = 50
- initially 50 processes are started
- a process exits
- 49 are still running
- so 1 should be started again.

Please, this is urgent.

Thanks! Michael

© Server Fault or respective owner

Related posts about linux

Related posts about scripting